<div class="studentinfos index">
	<h2><?php echo __('Studentinfos');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('student_id');?></th>
			<th><?php echo $this->Paginator->sort('gender_id');?></th>
			<th><?php echo $this->Paginator->sort('citizenship_id');?></th>
			<th><?php echo $this->Paginator->sort('foreignlanguage_id');?></th>
			<th><?php echo $this->Paginator->sort('number_acc');?></th>
			<th><?php echo $this->Paginator->sort('number_eduline');?></th>
			<th><?php echo $this->Paginator->sort('fio');?></th>
			<th><?php echo $this->Paginator->sort('eng_fio');?></th>
			<th><?php echo $this->Paginator->sort('enrollmentdate');?></th>
			<th><?php echo $this->Paginator->sort('passport_birthplace');?></th>
			<th><?php echo $this->Paginator->sort('passport_birthdate');?></th>
			<th><?php echo $this->Paginator->sort('passport_number');?></th>
			<th><?php echo $this->Paginator->sort('phone');?></th>
			<th><?php echo $this->Paginator->sort('mobile');?></th>
			<th><?php echo $this->Paginator->sort('email');?></th>
			<th><?php echo $this->Paginator->sort('moreinfo');?></th>
			<th><?php echo $this->Paginator->sort('educationline_id');?></th>
			<th class="actions"><?php echo __('Actions');?></th>
	</tr>
	<?php
	foreach ($studentinfos as $studentinfo): ?>
	<tr>
		<td><?php echo h($studentinfo['Studentinfo']['id']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($studentinfo['Student']['id'], array('controller' => 'students', 'action' => 'view', $studentinfo['Student']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($studentinfo['Gender']['name'], array('controller' => 'genders', 'action' => 'view', $studentinfo['Gender']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($studentinfo['Citizenship']['name'], array('controller' => 'citizenships', 'action' => 'view', $studentinfo['Citizenship']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($studentinfo['Foreignlanguage']['name'], array('controller' => 'foreignlanguages', 'action' => 'view', $studentinfo['Foreignlanguage']['id'])); ?>
		</td>
		<td><?php echo h($studentinfo['Studentinfo']['number_acc']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['number_eduline']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['fio']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['eng_fio']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['enrollmentdate']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['passport_birthplace']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['passport_birthdate']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['passport_number']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['phone']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['mobile']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['email']); ?>&nbsp;</td>
		<td><?php echo h($studentinfo['Studentinfo']['moreinfo']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($studentinfo['Educationline']['name'], array('controller' => 'educationlines', 'action' => 'view', $studentinfo['Educationline']['id'])); ?>
		</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $studentinfo['Studentinfo']['id'])); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $studentinfo['Studentinfo']['id'])); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $studentinfo['Studentinfo']['id']), null, __('Are you sure you want to delete # %s?', $studentinfo['Studentinfo']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>

	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Studentinfo'), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Students'), array('controller' => 'students', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Student'), array('controller' => 'students', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Genders'), array('controller' => 'genders', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Gender'), array('controller' => 'genders', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Citizenships'), array('controller' => 'citizenships', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Citizenship'), array('controller' => 'citizenships', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Foreignlanguages'), array('controller' => 'foreignlanguages', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Foreignlanguage'), array('controller' => 'foreignlanguages', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Educationlines'), array('controller' => 'educationlines', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Educationline'), array('controller' => 'educationlines', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Contracts'), array('controller' => 'contracts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Contract'), array('controller' => 'contracts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Medcomissions'), array('controller' => 'medcomissions', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Medcomission'), array('controller' => 'medcomissions', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Mideduadequacydocs'), array('controller' => 'mideduadequacydocs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mideduadequacydoc'), array('controller' => 'mideduadequacydocs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Migrationcards'), array('controller' => 'migrationcards', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Migrationcard'), array('controller' => 'migrationcards', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Payments'), array('controller' => 'payments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Payment'), array('controller' => 'payments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Registrations'), array('controller' => 'registrations', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Registration'), array('controller' => 'registrations', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Studentinsurances'), array('controller' => 'studentinsurances', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Studentinsurance'), array('controller' => 'studentinsurances', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Visas'), array('controller' => 'visas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Visa'), array('controller' => 'visas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hostels'), array('controller' => 'hostels', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hostel'), array('controller' => 'hostels', 'action' => 'add')); ?> </li>
	</ul>
</div>
